package cn.iocoder.yudao.module.scenic.controller.admin.comment.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 实践点评论新增/修改 Request VO")
@Data
public class CommentSaveReqVO {

    @Schema(description = "自增主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "19215")
    private Long id;

    @Schema(description = "小程序用户id", example = "20470")
    private String memberId;

    @Schema(description = "评论内容")
    private String content;
    @Schema(description = " 用户昵称")
    private String nickName;

    @Schema(description = "用户头像")
    private String avatar;

    @Schema(description = "是否通过审核 ", requiredMode = Schema.RequiredMode.REQUIRED)
    private Boolean isShow;

    @Schema(description = "状态", example = "1 - 待审核 2 -审核通过 3-审核不通过")
    private Integer commentStatus;

    @Schema(description = "审核意见", example = "xxx")
    private String opinion;

    @Schema(description = "实践点", requiredMode = Schema.RequiredMode.REQUIRED, example = "13103")
    @NotNull(message = "实践点不能为空")
    private Long spotId;

    @Schema(description = "星星数")
    private String stars;

}